from appium.webdriver.common.mobileby import MobileBy

from ui_framework_demo.common.basepage import BasePage
from ui_framework_demo.page.edit_member_package import EditMemberPackage


class PersonalInfoSettingsPackage(BasePage):
    def get_edit_member_package(self):
        """进入编辑页面"""
        self.driver.find_element(MobileBy.XPATH,"//*[@text='编辑成员']").click()
        return EditMemberPackage(self.driver)